@import (reference) '../../style/mixin.less';

.home-container {
    .common-title {
        padding: (30 / @rootValue);
        font-size: (36 / @rootValue);
        color: @base-color;
        text-align: left;
    }

    .home-form {
        background-color: #fff;

        .home-form-item {
            display: flex;
            justify-content: center;
            height: (120 / @rootValue);
            line-height: (120 / @rootValue);
            border-bottom: 1px solid #eee;

            span {
                margin-right: (20 / @rootValue);
                margin-left: (30 / @rootValue);
                font-size: (32 / @rootValue);
                color: #555;
            }

            input {
                flex: 1;
                font-size: (30 / @rootValue);
                border: none;
            }

            ::placeholder {
                color: #ccc;
            }
        }
    }

    .common-select-btn {
        display: block;
        min-height: (120 / @rootValue);
        font-size: (42 / @rootValue);
        color: #ccc;
        text-align: center;
        background-color: #fff;

        .flex;

        .selected-pro-list {
            .flex();

            flex-wrap: wrap;

            .selected-pro-item {
                width: (340 / @rootValue);
                margin: (10 / @rootValue);
                font-size: (32 / @rootValue);
                line-height: (50 / @rootValue);
                text-align: center;
            }
        }
    }

    .upload-img-con {
        text-align: center;

        .file-lable {
            position: relative;

            input[type='file'] {
                position: absolute;
                top: 0;
                right: 0;
                width: 100%;
                height: 100%;
                background-color: red;
                opacity: 0;
            }
        }

        .select-img {
            margin-top: (10 / @rootValue);
        }
    }

    .submit-btn {
        width: 90%;
        margin: (50 / @rootValue) auto 0;
        font-size: (40 / @rootValue);
        line-height: (100 / @rootValue);
        color: #fff;
        text-align: center;
        background-color: @base-color;
        border-radius: (10 / @rootValue);
    }
}
